<script type="text/javascript" src="${base}/scripts/jhgl/bgjhlrcontent.js"></script>
<input type="hidden" id="bgjhlr_content_date" value="${date?string("yyyy年MM月dd日 HH:mm:ss")!}"/>
<input type="hidden" id="bgjhlr_content_dqrq" value="${dqrq?string("yyyy-MM-dd")!}"/>
<input type="hidden" id="bgjhlr_content_bgjh_zggsId" value="${(ygGsId)!}"/>
<input type="hidden" id="bgjhlr_content_bgjh_id" value="${id!}"/>
<form id="bgjhlrForm" method="post" class="easyui-tabs" fit="true">
    <input type="hidden" name="bgjh.id" value="${(bgjh.id)!}"/>

    <div title="物资计划">
        <table style="width:100%" class="tb tab-t">
            <col width="18%"/>
            <col width="28%"/>
            <col width="10%"/>
            <col width="35%"/>
            <tr>
                <th style="font-size:12px;font-weight:bold">上下游关系：</th>
                <td colspan="3" style="font-size:12px;font-weight:bold">
                <#if bgjh??&&bgjh.lj??>
                    <input name="bgjh.lj.id" type="hidden" value="${(bgjh.lj.id)!}"/>
                ${(bgjh.lj.mc)!}
                <#else>
                    <input name="bgjh.lj.id" type="text" class="input-text" style="width:583px;"/>
                </#if>
                </td>
            </tr>
            <tr>
                <th style="font-size:12px;font-weight:bold">运营商：</th>
                <td style="font-size:12px;font-weight:bold">
                    <input id="bgjh_jyjg_id" name="bgjh.jyjg.id" type="hidden" value="${(bgjh.jyjg.id)!}"/>
                <#if bgjh??&&bgjh.jyjg??>
                ${(bgjh.jyjg.qc)!}
                <#else>
                    <input id="bgjh_jyjg_qc" name="bgjh.jyjg.qc" type="text" class="input-text"/>
                </#if>
                </td>
                <th style="font-size:12px;font-weight:bold">下游名称：</th>
                <td style="font-size:12px;font-weight:bold">
                    <input id="bgjh_jhdw" name="bgjh.jhdw.id" type="text" class="easyui-combobox" style="width:163px"/>
                </td>
            </tr>
            <tr>
                <th style="font-size:12px;font-weight:bold">计划说明：</th>
                <td colspan="3" style="font-size:12px;font-weight:bold">
                <#if bgjh??>
                ${(bgjh.sm)!}
                <#else>
                    <textarea rows="2" id="bgjh_sm" name="bgjh.sm" class="textarea" <#--readonly="true"-->
                              style="width:583px"></textarea>
                </#if>
                </td>
            </tr>
            <tr>
                <th style="font-size:12px;font-weight:bold">备注：</th>
                <td colspan="3" style="font-size:12px;font-weight:bold">
                <#if bgjh??>
                ${(bgjh.bz)!}
                <#else>
                    <textarea rows="2" name="bgjh.bz" class="textarea" style="width:583px"></textarea>
                </#if>
                </td>
            </tr>
        </table>
    </div>
</form>
